package cn.smbms.service.hot;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.smbms.dao.hot.HotMapper;
import cn.smbms.pojo.Hot;

@Service
public class HotServiceImpl implements HotService{
	@Resource
	private HotMapper hotMapper;
	
	//热门搜索
	@Override
	public List<Hot> getList() {
		List<Hot> hotList=hotMapper.getList();
		if(hotList.size()==0){
			return null;
		}
		return hotList;
	}

}
